#ifndef __STOCK__H
#define __STOCK__H

#include <QUuid>
#include <QString>

class Stock
{
	public:
		Stock();
		~Stock();
	private:
		QUuid id_;
		QString name_;
		QString code_;
		QString pinyin_;
	public:
		const QUuid& id()const
		{ return id_; }
		void setId(const QUuid& id)
		{ id_ = id; }
		const QString name()const
		{ return name_; }
		void setName(const QString& name)
		{ name_ = name; }
		const QString& code() const
		{ return code_; }
		void setCode(const QString& code)
		{ code_ = code; }
		const QString& pinyin()const
		{ return pinyin_ ; }
		void setPinyin(const QString& pinyin)
		{ pinyin_ = pinyin; }
};
#endif//__STOCK__H
